package com.wsj.dao;

import java.util.List;

import org.springframework.dao.DataAccessException;

import com.wsj.util.page.PageResultSet;
import com.wsj.web.subclass.displayBean.directSeed.DirectSeedExtendBean;
import com.wsj.web.vo.homeSite.DirectSeed;

public interface IDirectSeedDao {
	
	
	void add(DirectSeed directSeed)throws DataAccessException;
	
	void delete (Integer id)throws DataAccessException;
	
	void update(DirectSeed directSeed)throws DataAccessException;
	
	DirectSeed getDirectSeedById(Integer id)throws DataAccessException;
	
	PageResultSet loadDirectSeedByExtendBean(DirectSeedExtendBean directSeedExtendBean)throws DataAccessException;
	
	List loadDirectSeedList()throws DataAccessException;

	List getTopDirectSeedByHistory(int top)throws DataAccessException;

	List getTopDirectSeedByDirectClassName(String lanmuname, Integer top)throws DataAccessException;

	List getTopByDclassName(String lanmuname, Integer top)throws DataAccessException;

	List getDirectSeedByparentId(Integer id, Integer top)throws DataAccessException;
	
	
	
	

}
